package com.ruoyi.course.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * 课程信息对象 exam_course
 *
 * @author Tellsea
 * @date 2025-09-25
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("exam_course")
public class ExamCourse extends BaseEntity {

    /**
     * 课程ID
     */
    private Long id;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称")
    private String courseName;

    /**
     * 课程代码
     */
    @Excel(name = "课程代码")
    private String courseCode;

    /**
     * 课程详情
     */
    @Excel(name = "课程详情")
    private String courseDetail;

    /**
     * 课程图片
     */
    @Excel(name = "课程图片")
    private String courseImage;

    private Long courseCategoryId;

    /**
     * 课程参与人数
     */
    @Excel(name = "课程参与人数")
    private Long participantCount;

    /**
     * 是否为精选课程
     */
    @Excel(name = "是否为精选课程", readConverterExp = "0=否,1=是")
    private Integer isFeatured;

}
